<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ad_ManageSEO_Pages.aspx.cs" Inherits="Admin_Ad_ManagelatestHospitals" %>

<%@ Register Src="Include/Ad_footer.ascx" TagName="Ad_footer" TagPrefix="uc3" %>
<%@ Register Src="Include/Ad_left.ascx" TagName="Ad_left" TagPrefix="uc2" %>
<%@ Register Src="Include/Ad_header.ascx" TagName="Ad_header" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Manage SEO</title>

    <link href="include\styles.css" rel="stylesheet" />
    <script>
        function ChangeHeaderAsNeeded(chkBox) {

            if (CheckBoxIDs != null) {
                for (var i = 0; i < CheckBoxIDs.length; i++) {
                    var cb = document.getElementById(CheckBoxIDs[i]);
                    if (!cb.checked) {
                        ChangeCheckBoxState(CheckBoxIDs[0], false);
                        return;
                    }
                }
                ChangeCheckBoxState(CheckBoxIDs[0], true);
            }
        }
        function ChangeCheckBoxState(id, checkState) {
            var cb = document.getElementById(id);
            if (cb != null)
                cb.checked = checkState;
        }

        function ChangeAllCheckBoxStates(checkState) {
            if (CheckBoxIDs != null) {
                for (var i = 0; i < CheckBoxIDs.length; i++)
                    ChangeCheckBoxState(CheckBoxIDs[i], checkState);
            }
        }

        function Confirm() {
            var Resp = confirm("Are You Sure to Update Latest International  Hostital Record(s)?");
            if (Resp == true) {
                return true;
            }
            else {
                return false;
            }
        }

    </script>
</head>
<body>
    <form id="form1" runat="server" style="font-size: 12px !important;font-family: Arial, Helvetica, sans-serif !important;">
        <div>

            <table width="100%" border="0" cellspacing="0" cellpadding="0">

                <!-- Masthead starts from here-->

                <uc1:Ad_header ID="Ad_header1" runat="server" />

                <!-- Masthead ends here-->

                <tr>
                    <td></td>
                    <td>
                        <table width="716" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="150" valign="top">

                                    <!-- Left panel starts from here-->

                                    <uc2:Ad_left ID="Ad_left1" runat="server" />

                                    <!-- Left panel ends from here-->
                                </td>
                                <td width="15" valign="top">
                                    <img src="../images/spacer.gif" width="15" height="1" /></td>
                                <td width="551" valign="top">

                                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tblborder">
                                        <tr>
                                            <td width="2%" height="35"></td>
                                            <td width="96%" class="normalblack_12" align="center"><b>Manage Seo Tags </b></td>
                                            <td width="2%"></td>
                                        </tr>
                                       
                                        
                                        <tr style="font-family: Times New Roman">
                                            <td height="200"></td>
                                            <td valign="top" class="normalblack_12" align="center">
                                                <asp:Label ID="lblMsg" runat="server" Text=""></asp:Label><br>
                                                <asp:GridView DataKeyNames="Id" ID="grdmedsch" runat="server" AutoGenerateColumns="False" ShowFooter="True" PageSize="20"
                                                    CssClass="normalgrey_12" Width="95%" AllowPaging="True" OnPageIndexChanging="grdmedsch_PageIndexChanging"
                                                    OnRowDataBound="grdmedsch_RowDataBound">
                                                    <Columns>

                                                        <asp:TemplateField HeaderText="Edit">
                                                            <ItemTemplate>
                                                                <a href="Ad_UpdateSeoTags.aspx?from=<%=Request.QueryString["type"].ToString().Trim()%>&id=<%# Eval("ID") %>" title="Edit Record">
                                                                    <img src="../images/editinfo.gif" border="0" /></a>
                                                            </ItemTemplate>
                                                           
                                                        </asp:TemplateField>
                                                        <asp:BoundField HeaderText="Page Name" DataField="PageName" HeaderStyle-Width="150px" />
                                                        <asp:BoundField HeaderText="Seo Title" DataField="Title" />

                                                      

                                                    </Columns>
                                                    <RowStyle HorizontalAlign="Left" />
                                                    <PagerStyle HorizontalAlign="Center" />
                                                    <FooterStyle HorizontalAlign="Left" />

                                                </asp:GridView>

                                            </td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td height="20"></td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                       
                                         <tr>
                                            <td height="20"></td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td height="30" colspan="3"></td>
                </tr>
                <tr>
                    <td height="1" bgcolor="#CCCCCC">
                        <img src="../images/spacer.gif" width="1" height="1" alt="" /></td>
                    <td bgcolor="#CCCCCC">
                        <img src="../images/spacer.gif" width="1" height="1" alt="" /></td>
                    <td bgcolor="#CCCCCC">
                        <img src="../images/spacer.gif" width="1" height="1" alt="" /></td>
                </tr>
                <tr>
                    <td height="20" colspan="3"></td>
                </tr>

                <!-- Bottom starts from here-->

                <uc3:Ad_footer ID="Ad_footer1" runat="server" />

                <!-- Bottom ends here-->

            </table>


        </div>
    </form>
</body>
</html>

